<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'Pet_index.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
		<link rel="stylesheet" href="css/style.css" type="text/css"></link>
		<script type="text/javascript">
function BuyTrue() {
	alert("您选中的商品已经放入购物车中,请点击购物车进行购买查询与支付！");
	history.back();
}
</script>
	</head>

	<body>
		<center>
			<div id="top">
				<%@ include file="top.jsp"%>
			</div>
			<div id="center">
				<div id="centerleft">
					<img src="image/1-home_07.gif" border="0" />
					<div id="menulist">
						<!--功能菜单开始-->
						<!--功能菜单结束-->
					</div>
					<img src="image/1-home_02.gif" border="0" id="i2" />
				</div>
				<div id="centerright">
					<div id="guide">
						您现在所在的位置：宠物在线系统
					</div>
					<div id="main">
						<table class="show">
							<caption>
								购买宠物信息表
							</caption>
							<tr>
								<td width="84" height="29">
									宠物名称:
								</td>
								<td width="334">
									${sessionScope.ShopPet.pet_Name}
								</td>
							</tr>
							<tr>
								<td height="28">
									宠物年龄:
								</td>
								<td>
									${sessionScope.ShopPet.pet_Age}
								</td>
							</tr>

							<tr>
								<td height="29">
									宠物性别:
								</td>
								<td>
									${sessionScope.ShopPet.pet_Sex}
								</td>
							</tr>
							<tr>
								<td height="27">
									宠物类别:
								</td>
								<td>
									${sessionScope.ShopPet.pet_ClassName}
								</td>
							</tr>
							<tr>
								<td height="27">
									宠物产地:
								</td>
								<td>
									${sessionScope.ShopPet.pet_Produce_place}
								</td>
							</tr>
							<tr>
								<td height="27">
									宠物价格:
								</td>
								<td>
									${sessionScope.ShopPet.pet_Price}￥
								</td>
							</tr>
							<%--<tr>
								<td>
									宠物照片:
								</td>
								<td>
									<img src="Photo/${sessionScope.ShopPet.pet_PhotoName}"
										height="135" width="203" />
								</td>
							</tr>

							--%><tr align="center" valign="middle">
								<td colspan="6">
									<input type="button" onclick="BuyTrue()" value="购物商品已经确认 ">
								</td>
							</tr>
						</table>
						<div align="center"></div>
					</div>
				</div>
				<div style="clear: both"></div>
			</div>
		</center>
	</body>
</html>
